#! /bin/bash
USER_UID=$(id -u "$CURRENT_USER")
USER_GID=$(id -g "$CURRENT_USER")

docker run -d \
  --name rclone-nutstore \
  -u $USER_UID:$USER_GID \
  -v /home/test/rclone:/work_dir:shared \
  -w /work_dir \
  rclone/rclone:20250929 \
  rclone sync --progress --config /work_dir/config.conf nutstore:docs /work_dir/docs
